<!doctype html><html><head><meta charset="utf-8" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="viewport" content="initial-scale=1.0, width=device-width, user-scalable=false" />
<meta name="keywords" content="" /> 
<meta name="description" content="" />
<title>LEKO&trade;</title>
<link rel="icon" type="image/ico" href="favicon.ico" />
<link rel="apple-touch-icon" href="apple-touch-icon.png" />
<link rel="stylesheet" type="text/css" href="leko.css" />
<link rel="stylesheet" type="text/css" href="leko.demo.css" />
<link rel="alternate" type="application/rss+xml" title="" href="leko.xml" />
<script src="jquery.js"></script><script src="leko.js"></script></head><body><div id="page" class="table"><header><nav></nav></header><h2 class="en">jQuery.fn.msFilter</h2><hr />在IE上设置或获取<mark class="en"> -ms-filter </mark>扩展CSS属性。非IE浏览器则会自动忽略。<section><h4><b>语法</b></h4><code><i>jQuery</i>|<i>object</i> = <strong>jQuery</strong>(<i>selector</i>).<strong>msFilter</strong>([<i>filters</i>])</code></section><section><h4><b>参数</b></h4><table border="0" cellspacing="0" cellpadding="0"><thead><tr class="row1"><th class="col2">参数名</th><th class="col2">是否可选</th><th class="col2">缺省值</th><th class="col2">数据类型</th><th class="col2">可能的取值</th><th>说明</th></tr></thead><tbody><tr><td rowspan="2" class="en">filters</td><td class="en" rowspan="2">√</td><td class="en" rowspan="2">undefined</td><td rowspan="1" class="en">object</td><td class="en"></td><td>要设置的滤镜及参数配置。参见下面的代码示例。</td></tr><tr><td rowspan="1" class="en">undefined</td><td class="en"></td><td>获取当前滤镜及参数配置。参见下面的代码示例。</td></tr></tbody></table></section><section><h4><b>返回</b></h4><table border="0" cellspacing="0" cellpadding="0"><thead><tr class="row2"><th class="col2">数据类型</th><th class="col2">可能的取值</th><th>说明</th></tr></thead><tbody><tr><td rowspan="1" class="en">jQuery</td><td class="en">this</td><td></td></tr><tr class="odd"><td rowspan="1" class="en">object</td><td class="en"></td><td>获取到的设置。</td></tr></tbody></table></section><script>$(function(){$("button").click(function(){eval($(this).prev().prev().text());});});</script><section><h4><b>示例</b></h4><pre>$(&quot;body&quot;).msFilter({
    BasicImage:{Invert:1,Opacity:1.00},
    Gradient:{gradientType:0,startColorStr:&#039;#ff00ff&#039;,endColorStr:&#039;#00ff99&#039;}
});</pre><br /><button>运行上面的代码</button><br /></section><section><h4><b>实例</b></h4><ol><li><a href="jQuery.fn.msFilter.0.html">测试用例演示</a></li></section><section><h4><b>文件</b></h4><ol class="en"><li><a href="jquery.js">jquery.js</a> (70.48KB)</li><li class="within"><a href="leko.js">leko.js</a> (20.68KB)</li></ol></section><footer><section id="foot"><hr /><h6>苏昱(苏小雨)作品<br />灵镭信息科技，创造代码之美</h6><a class="en" href="http://www.lekolite.cn" target="_blank">Copyright © 2010 lekolite.cn , All rights reserved</a></section></footer></div></body></html>